const mongoose = require('mongoose');
const { Schema } = mongoose;

const usersSchema = new Schema({
  username: String,//用户名
  password: String,//密码
  role: String//角色
});

const usersModel = mongoose.model('users',usersSchema);

module.exports = usersModel;